/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.global-message-list {
	font-size: 12px;
	position: absolute;
	z-index: 300;
	list-style-type: none;
	line-height: 35px;
	margin: 0;
	padding: 0;
	width: 70%;
	left: 15%;
}

.hc-black .global-message-list {
	outline: 2px solid;
	outline-offset: -2px;
	box-shadow: none;
}

.global-message-list.transition {
	-webkit-transition:	top 200ms linear;
	-ms-transition:		top 200ms linear;
	-moz-transition:	top 200ms linear;
	-khtml-transition:	top 200ms linear;
	-o-transition:		top 200ms linear;
	transition:			top 200ms linear;
}

.global-message-list ul.message-list {
	margin: 0;
	padding: 0;
}

.global-message-list li.message-list-entry {
	padding-left: 10px;
	padding-right: 10px;
	overflow: hidden;
	-webkit-box-sizing:	border-box;
	-o-box-sizing:		border-box;
	-moz-box-sizing:	border-box;
	-ms-box-sizing:		border-box;
	box-sizing: 		border-box; /* Important so that borders added don't add to the overal size */
	height: 35px;
}

.global-message-list li.message-list-entry-with-action {
	padding-right: 0;
}

.global-message-list li.message-list-entry .message-left-side {
	-webkit-user-select: text;
	-ms-user-select: text;
	-khtml-user-select: text;
	-moz-user-select: text;
	-o-user-select: text;
	user-select: text;
}

.global-message-list li.message-list-entry .message-left-side.severity {
	padding: 2px 4px;
	margin-right: 10px;
	font-weight: bold;
	font-size: 11px;
	-webkit-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: -moz-none;
	-o-user-select: none;
	user-select: none;
}

.global-message-list li.message-list-entry .message-left-side.message-overflow-ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
}

.global-message-list li.message-list-entry .actions-container {
	float: right;
}

.global-message-list li.message-list-entry .actions-container .message-action {
	display: inline-block;
}

.global-message-list li.message-list-entry .actions-container .message-action .action-button {
	padding-left: 10px;
	padding-right: 10px;
	display: inline-block;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.hc-black .global-message-list li.message-list-entry .message-left-side.severity {
	border: 1px solid;
}

.hc-black .global-message-list li.message-list-entry .actions-container .message-action .action-button {
	border: 1px solid;
}

.hc-black .global-message-list li.message-list-entry .actions-container .message-action .action-button:focus {
	outline-offset: -4px; /* Helps high-contrast outline avoid clipping. */
}

/* TODO@theme */

.vs .global-message-list li.message-list-entry .actions-container .message-action .action-button:focus,
.vs-dark .global-message-list li.message-list-entry .actions-container .message-action .action-button:focus {
	outline-color: rgba(255, 255, 255, .5); /* buttons have a blue color, so focus indication needs to be different */
}